.linear-gradient-triangle {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, deeppink, deeppink 50%, transparent 50%, transparent 100%);
}